package org.example.demo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

//前端下订单使用的dto
@Getter
@Setter
public class OrderGenParam {
    @ApiModelProperty(value = "userid")
    private Long userId;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "商品数量")
    private Long quantity;

    @ApiModelProperty(value = "订单总价")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货人地址")
    private String receiverLoc;

    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;

}
